//
//  CartoonClassifyReusableVIew.m
//  Double
//
//  Created by 孟令博 on 15/5/25.
//  Copyright (c) 2015年 袁庆秋. All rights reserved.
//

#import "CartoonClassifyReusableVIew.h"

@implementation CartoonClassifyReusableVIew
- (void)dealloc
{
    [_myLable release];
    [_myImage1 release];
    [super dealloc];
}

- (void)prepareForReuse
{
    
}
- (void)applyLayoutAttributes:(UICollectionViewLayoutAttributes *)layoutAttributes
{
    if (!self.myLable) {
        
        self.myImage1 = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 170, 30)];
        [self.myImage1 setImage:[UIImage imageNamed:@"biao2.jpg"]];
        [self addSubview:_myImage1];
        
        self.myLable = [[UILabel alloc] initWithFrame:CGRectMake(60, 1, 100, 30)];
        [self.myImage1 addSubview:self.myLable];
    }
    
    
    
}

@end
